package com.ruoyi.health.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯管理对象 notice
 * 
 * @author dalian
 * @date 2023-08-05
 */
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资讯id */
    @Excel(name = "资讯id")
    private Long id;

    /** 资讯分类id */
    @Excel(name = "资讯分类id")
    private Long cateId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 资讯摘要 */
    @Excel(name = "资讯摘要")
    private String brief;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 封面 */
    @Excel(name = "封面")
    private String coverImage;

    /** 资讯详情信息 */
    private NoticeDetail noticeDetail;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCateId(Long cateId) 
    {
        this.cateId = cateId;
    }

    public Long getCateId() 
    {
        return cateId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }

    public NoticeDetail getNoticeDetail()
    {
        return noticeDetail;
    }

    public void setNoticeDetail(NoticeDetail noticeDetail)
    {
        this.noticeDetail = noticeDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cateId", getCateId())
            .append("title", getTitle())
            .append("brief", getBrief())
            .append("source", getSource())
            .append("coverImage", getCoverImage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("noticeDetail", getNoticeDetail())
            .toString();
    }
}
